﻿body {
	position: absolute;
	font-family : Fredoka One;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: url(../images/tilebg.jpg);
	background-repeat: repeat;
}

@font-face {
  font-family: 'Fredoka One';
  font-style: normal;
  font-weight: 400;
  src: local('Fredoka One'), local('FredokaOne-Regular'), url(../fonts/FredokaOne.woff) format('woff');
}

#game {
	position:relative;
	margin: 40px auto 0 auto;
	width: 1280px;
	height: 720px;
	padding: 0;
}

#shadow {
	position: absolute;
	top: -53px;
	left: -58px;
	background-image: url(../images/mainbg.png);
	background-repeat: no-repeat;
	background-position: top center;
	width: 1386px;
	height: 826px;
	z-index:-1;
}

.btn {
	width: 303px;
	height: 70px;
	background-image: url(../images/button.png);
	text-align: center;
	margin-bottom: 10px;
}

.btn:hover {
	background-position: left -71px;
}

.panel {
	width: 1280px;
	height: 720px;

	position: absolute;
	top: 0;
	overflow: hidden;
}

.content {
	position: absolute;
	top: 0;
}

#logo {
	position: absolute;
	left: 430px;
	top: 80px;	
	width: 423px;
	height: 312px;
	background: url(../images/logo.png);
}

#menuButtons {
	position: absolute;
	left: 490px;
	top: 460px;
}

.backButton {
	position: absolute;
	top: 636px;
	left: 14px;
	width: 79px;
	height: 75px;
	background-image: url(../images/backButton.png);
}

.backButton:hover {
	background-position: left -75px;
}

#navBack, #navForward {
	position: absolute;
	top: 300px;
	left: 305px;
}
#navForward {
	left:873px;
}

#navBack div, #navForward div {
	width: 59px;
	height: 71px;
	background-image: url(../images/nav_menu.png);
}

#navForward div {
	background-position: -59px top;
}

#navBackward-div {
	background position: 0px top;
}

#navBack .navDisabled {
	background-position:left -71px;
	opacity: .5;
}

#navForward .navDisabled {
	background-position: -59px -71px;
	opacity: .5;
}

#world0 {
	left: 0;
}
#world1 {
	left: 600px;
}

#world2 {
	left: 1200px;
}

.iconBtn {
	position: absolute;
}

.boxOption {
	width: 400px;
	height: 400px;
}

#worlds {
	position: absolute;
	top: 245px;
	left: 455px;
	transition: left 1s;
	-moz-transition: left 1s;
	-webkit-transition: left 1s;
}

#world0img {
	background: url(../images/world0.png) no-repeat center center;
	width: 300px;
	height: 214px;
}

#worldScore, #levelScore {
	background-image: url("../images/smallstar.png");
    background-position: right top;
    background-repeat: no-repeat;
    height: 35px;
    padding-right: 38px;
    position: absolute;
    right: 28px;
    top: 16px;
}

#lvlOptions {
	height: 10px;
	left: 420px;
	position: absolute;
	top: 100px;
	width: 10px;
}

.option {
	height: 141px;
	position: absolute;
	width: 121px;
}

#levelPanel .option .txt {
    margin-top: 30px;
    text-align: center;
    width: 121px;
    display: none;
}

#levelPanel .open {
    background-image: url("../images/level.png");
}

#levelPanel .locked {
    background-image: url("../images/level.png");
    background-position: left -141px;
}

#levelPanel .stars0, #levelPanel .stars1, #levelPanel .stars2, #levelPanel .stars3 {
    background-image: url("../images/levelstars.png");
    height: 48px;
    left: 34px;
    position: absolute;
    top: 81px;
    width: 88px;
}

#levelPanel .stars1 {
    background-position: left -48px;
}
#levelPanel .stars2 {
    background-position: left -96px;
}
#levelPanel .stars3 {
    background-position: left -144px;
}
#results {
    height: 452px;
    margin: 60px auto 0;
    position: relative;
    text-align: center;
    width: 570px;
}
#results .starRes {
    height: 93px;
    margin: 0 auto;
    position: relative;
    top: 95px;
    width: 310px;
}
#formula {
	display: none;
	margin: 10px auto;
	position: relative;
	top: 200px;
	width: 310px;	
}

#results .star, #results .starEmpty {
    background-image: url("../images/star_result.png");
    float: left;
    height: 93px;
    width: 93px;
}
#results .starEmpty {
    background-position: left -93px;
}

#results .buttonCase {
	height: 56px;
    left: 8px;
    position: absolute;
    top: 450px;
    width: 550px;
}

#results .buttonCase .smallButton {
    float: left;
}

#MainButton {
    margin: 0 15px;
}

.smallButton {
    background-image: url("../images/smallButton.png");
    height: 66px;
    margin-bottom: 10px;
    text-align: center;
    width: 171px;
}
.smallButton img {
    margin-top: 2px;
}
.smallButton:hover {
    background-position: left -66px;
}


#menuTray {
	height: 42px;
	position: absolute;
	right: 0;
	top: 4px;
	width: 180px;
}

#gameRestartButton {
	background: url("../images/gamebuttons.png") no-repeat scroll -100px 0 transparent;
    height: 42px;
    left: 44px;
    position: absolute;
    top: 0;
    width: 42px;
}

#gameRestartButton:hover {
    background-position: -100px -100px;
}

#gameMenuButton {
    background: url("../images/gamebuttons.png") no-repeat scroll 0 0 transparent;
    height: 42px;
    left: 88px;
    position: absolute;
    top: 0;
    width: 88px;
}
#gameMenuButton:hover {
    background-position: 0 -100px;
}




